package com.aggregate.pay.saobei.bean;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author Moyq5
 * @date 2018年6月29日
 */
public abstract class AbstractData {
	public static final String PAY_VERSION = "100";
	
	@JsonProperty("pay_ver")
	private String payVer = PAY_VERSION;
	@JsonProperty("pay_type")
	private String payType;
	@JsonProperty("service_id")
	private String serviceId;
	@JsonProperty("merchant_no")
	private String merchantNo;
	@JsonProperty("terminal_id")
	private String terminalId;
	@JsonProperty("key_sign")
	private String keySign;
	@JsonProperty("terminal_trace")
	private String terminalTrace;
	@JsonProperty("terminal_time")
	private String terminalTime;
	public AbstractData(String serviceId) {
		this.serviceId = serviceId;
	}
	public String getPayVer() {
		return payVer;
	}
	public void setPayVer(String payVer) {
		this.payVer = payVer;
	}
	public String getPayType() {
		return payType;
	}
	public void setPayType(String payType) {
		this.payType = payType;
	}
	public String getServiceId() {
		return serviceId;
	}
	public void setServiceId(String serviceId) {
		this.serviceId = serviceId;
	}
	public String getMerchantNo() {
		return merchantNo;
	}
	public void setMerchantNo(String merchantNo) {
		this.merchantNo = merchantNo;
	}
	public String getTerminalId() {
		return terminalId;
	}
	public void setTerminalId(String terminalId) {
		this.terminalId = terminalId;
	}
	public String getKeySign() {
		return keySign;
	}
	public void setKeySign(String keySign) {
		this.keySign = keySign;
	}
	public String getTerminalTrace() {
		return terminalTrace;
	}
	public void setTerminalTrace(String terminalTrace) {
		this.terminalTrace = terminalTrace;
	}
	public String getTerminalTime() {
		return terminalTime;
	}
	public void setTerminalTime(String terminalTime) {
		this.terminalTime = terminalTime;
	}	
}
